<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller as BaseController;
use App\Repository\Order\OrderInfoRepository as model;

// 首页统计数据
class WelcomeController extends BaseController
{
  public function __construct(model $model)
  {
    $this->repoist = $model;
  }
  // 商品数据统计
  public function index(Request $request)
  {
    // 需要传递shop_id 
    // 还有时间
    $where = [
      'shop_id' => $request->user->shop_id,
      ''
    ];
  }
}
